# -*-coding:utf-8 -*-
# File  : siteChannelAccountSwitch_api.py
# Time  ：2021/12/2 16:47
# Author：author name

from api.manage.manage_base import ManageBase


class SiteChannelAccountSwitchApi(ManageBase):
    def __init__(self, data_id, opera_id, status):
        """站点账户是否启用徽商电子账户接口"""
        super().__init__()
        self.url = self.host + f"cloudlottery-manage/siteaccount/channelAccountSwitch?id={data_id}&operatorId={opera_id}&status={status}"
        self.method = "put"
